﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ContactusUC.ascx.cs"
    Inherits="PASNew.U.Controls.ContactusUC" %>
<h1>
    CONTACT
</h1>
<div>
    <p>
        <asp:Label ID="lblName" runat="server" Text="Name" AssociatedControlID="txtBoxContactUsName"></asp:Label><br />
        <asp:TextBox ID="txtBoxContactUsName" runat="server" Width="180px" CssClass="textbox"></asp:TextBox><asp:RequiredFieldValidator
            ID="ContactUsNameCheck" runat="server" ErrorMessage="Please input your name"
            ControlToValidate="txtBoxContactUsName" ForeColor="Black" Display="Dynamic"></asp:RequiredFieldValidator>
    </p>
    <p>
        <asp:Label ID="lblContactNumber" runat="server" Text="Contact Number" AssociatedControlID="txtBoxContactNumber"></asp:Label><br />
        <asp:TextBox ID="txtBoxContactNumber" runat="server" Width="180px" CssClass="textbox"></asp:TextBox>
    </p>
    <p>
        <asp:Label ID="lblEmail" runat="server" Text="Email Address" AssociatedControlID="txtBoxContactUsEmail"></asp:Label><br />
        <asp:TextBox ID="txtBoxContactUsEmail" runat="server" Width="180px" CssClass="textbox"></asp:TextBox>
        <asp:RegularExpressionValidator ID="ContactUsEmailFormatCheck" runat="server" ErrorMessage="Input a valid email"
            ControlToValidate="txtBoxContactUsEmail" ForeColor="Black" Display="Dynamic"
            ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator><asp:RequiredFieldValidator
                ID="ContactUsEmailCheck" runat="server" ErrorMessage="Please input your email address"
                ControlToValidate="txtBoxContactUsEmail" ForeColor="Black" Display="Dynamic"></asp:RequiredFieldValidator>
    </p>
    <p>
        <asp:Label ID="lblMessage" runat="server" Text="Message" AssociatedControlID="txtBoxContactUsMesage"></asp:Label><br />
        <asp:TextBox ID="txtBoxContactUsMesage" runat="server" TextMode="MultiLine" Width="180px"
            Height="180px" CssClass="textbox"></asp:TextBox><asp:RequiredFieldValidator ID="RequiredFieldValidator1"
                runat="server" ErrorMessage="Please input your message" ControlToValidate="txtBoxContactUsMesage"
                ForeColor="Black" Display="Dynamic"></asp:RequiredFieldValidator>
    </p>
    <p>
        <asp:LinkButton ID="LBSubmit" runat="server" OnClick="LBSubmit_Click" CssClass="button">Submit</asp:LinkButton></p>
    <asp:Label ID="LblSuccess" runat="server" Text="Message sent successfully" ForeColor="black"
        Visible="False"></asp:Label><br />
</div>
